package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: 2019-10-12_userCenter
 * @description: 修改角色信息请求
 * @author: DaiGaoLe
 * @create: 2019-10-28 19:52
 **/
@Data
@ApiModel(value = "修改角色信息请求", description = "修改角色信息请求")
public class ChangeRoleReq extends BaseReqObj {

    private static final long serialVersionUID = -5010246252954324063L;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", notes = "角色id", dataType = "Integer", required = true)
    @NotNull(message = "角色id不能为空")
    private Integer roleId;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称", notes = "角色名称", dataType = "String")
    private String roleName;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述", notes = "角色描述", dataType = "String")
    private String describeStr;

    @ApiModelProperty(value = "业态公司id", notes = "业态公司id")
    private Integer formatId;
}
